Permite Vínculo de Botão de Keypad a Cenas e Atualiza Teste#48
Permite Vínculo de Botão de Keypad a Cenas e Atualiza Teste#48google-labs-jules[bot] wants to merge 1 commit intomainfrom
Conversation
This commit enhances the standalone RWP converter to support linking keypad buttons to scenes and expands the test scenario. - Updates `standalone_roehn_converter.py`: - Implements a `_scene_guid_map` to track scene GUIDs. - Corrects the processing order to ensure scenes are registered before keypads. - Extends button logic to handle `target_type: 'cena'`, setting the correct `.rwp` `Modo` for scene activation. - Updates `cenario_simples.json`: - Adds the mandatory `scene_movers: false` property to the light-based scenes. - Adds a new "Keypad Cenas" keypad. - Configures the new keypad's buttons to activate the two existing scenes, providing a test case for the new functionality.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. |
Esta alteração implementa a funcionalidade de vincular botões de keypad a cenas no conversor autônomo e expande o cenário de teste.
As principais mudanças são:
standalone_roehn_converter.py):target_type: 'cena', permitindo que um botão ative uma cena com oModoapropriado no arquivo.rwp.cenario_simples.json):scene_movers: falsefoi adicionada às cenas, conforme necessário para a integridade do arquivo.rwp.PR created automatically by Jules for task 9201591816472769160